<div class="view-header">
    <!-- 查询 -->
    <!-- <div ng-show="!check_show"> -->
        <div class="search-shop">
            <i class="fa fa-home"></i>
            <shop-picker class="from-control"
                         shop="search_params.shop"></shop-picker>
        </div>

        <div class="search-date">
            <i class="fa fa-calendar search-date-i"></i>
            <datetimepicker class="search-date-start"
                            min-view="2"
                            end-date="search_params.date_end"
                            ng-model="search_params.date_start"></datetimepicker>

        </div>
        <div class="search-date">
            <i class="fa fa-calendar search-date-i"></i>
            <datetimepicker class="search-date-end"
                            min-view="2"
                            start-date="search_params.date_start"
                            ng-model="search_params.date_end"></datetimepicker>
        </div>
        <div class="view-header-left">
            <div class="view-header-item no-widen" ng-click="refresh()" title="查询">
                <i class="fa fa-search"></i>
            </div>
        </div>
        <div class="view-header-item color-check"  title="导出" >
            <a target="_blank" href="api/receipt/finance/all/export?sales_shop_id={{search_params.shop.id}}&create_time=btwn,{{search_params.date_start}},{{search_params.date_end}}">
                <i class="fa fa-download"></i> 导出报表
            </a>
        </div>
    <!-- </div> -->

    <!-- <div class="view-header-left" ng-show='check_show'> -->


<!--         <div class="view-header-item no-widen color-close above-cover"
             ng-click='check_show = !check_show; readonly = false;receipt_invalid = false;' title="关闭"
             ng-show='check_show && !insurance_cover'>
            <i class="fa fa-close"></i>
        </div>


        <div class="view-header-item color-check above-cover" ng-click = 'check_submit();check_show = !check_show;' title="财务结算"
             ng-show='check_show'>
            <i class="fa fa-check"></i> 确认结算
        </div> -->
    <!-- </div> -->
</div>
<div class="view-content ">
    <div ag-grid="grid" class="ag-fresh ag-custom-center" style="height :100%"></div>
</div>